Routines (alphabetical) > Routines: G > GRIB Routines > GRIB_GET

GRIB_GET

The GRIB_GET function returns a value from a key/value pair. If several keys of the same name are present, the last key is returned.

Syntax

Result = GRIB_GET( Ghandle, Key)

Return Value

Returns the value from a key/value pair as the default (native) type.

Arguments

Ghandle

A GRIB handle.

Key

A case-sensitive string containing the desired key name.

Examples

See GRIB_GET_VALUESfor a general example using the GRIB routines.

Version History

8.1

Introduced

See Also

GRIB_GET_NATIVE_TYPE